export const dataOverview = {
  overview: [
    { name: '全域总人口数', value: 314585 },
    { name: '60+老人数', value: 45852 },
    { name: '60+老人占比', value: '14.58%' },
    { name: '服务覆盖老人', value: 12589 },
    { name: '服务覆盖老人占比', value: '27.46%' },
    { name: '累计服务次数', value: 615896 },
  ],
  elders: {
    gender: [
      { name: '男', value: 10 },
      { name: '女', value: 15 },
    ],
    live: [
      { name: '全部长者', value: 100 },
      { name: '独居', value: 30 },
      { name: '与配偶同住', value: 40 },
      { name: '与子女同住', value: 15 },
      { name: '与保姆同住', value: 5 },
      { name: '与他人同住', value: 10 },
    ],
    age: [
      { name: '65以下', male: 321, female: 189 },
      { name: '65-70', male: 125, female: 215 },
      { name: '70-75', male: 398, female: 256 },
      { name: '75-80', male: 458, female: 223 },
      { name: '80-85', male: 458, female: 223 },
      { name: '85-90', male: 321, female: 189 },
      { name: '90以上', male: 321, female: 189 },
    ],
    disability: [
      { name: '能力完好', male: 321, female: 300 },
      { name: '轻度失能', male: 280, female: 331 },
      { name: '中度失能', male: 285, female: 220 },
      { name: '重度失能', male: 260, female: 180 },
      { name: '完全', male: 280, female: 180 },
    ],
  },
  station: {
    count: 5,
    staffCount: 258,
    staffs: [
      {
        name: '王新宇1',
        age: 51,
        gender: '男',
        site: '王家泉村三区服务站',
        level: '高级',
      },
      {
        name: '王新宇2',
        age: 51,
        gender: '男',
        site: '王家泉村三区服务站',
        level: '高级',
      },
      {
        name: '王新宇3',
        age: 51,
        gender: '男',
        site: '王家泉村三区服务站',
        level: '高级',
      },
      {
        name: '王新宇4',
        age: 51,
        gender: '男',
        site: '王家泉村三区服务站',
        level: '高级',
      },
      {
        name: '王新宇5',
        age: 51,
        gender: '男',
        site: '王家泉村三区服务站',
        level: '高级',
      },
      {
        name: '王新宇6',
        age: 51,
        gender: '男',
        site: '王家泉村三区服务站',
        level: '高级',
      },
    ],
  },
  efficiency: {
    totalServiceItem: 7989545,
    perServiceItem: 107,
    totalDeviceInstall: 5625,
    deviceAccuracy: '100%',
    totalAlarmOrder: 1235,
    alarmOderProcess: '100%',
  },
  alarms: [
    {
      deviceName: 'SOS智能报警器',
      elderName: '陈春霞1',
      alarmDatetime: '6.23  12:22:25',
    },
    {
      deviceName: 'SOS智能报警器',
      elderName: '陈春霞2',
      alarmDatetime: '6.23  12:22:25',
    },
    {
      deviceName: 'SOS智能报警器',
      elderName: '陈春霞3',
      alarmDatetime: '6.23  12:22:25',
    },
    {
      deviceName: 'SOS智能报警器',
      elderName: '陈春霞4',
      alarmDatetime: '6.23  12:22:25',
    },
    {
      deviceName: 'SOS智能报警器',
      elderName: '陈春霞5',
      alarmDatetime: '6.23  12:22:25',
    },
    {
      deviceName: 'SOS智能报警器',
      elderName: '陈春霞6',
      alarmDatetime: '6.23  12:22:25',
    },
  ],
};

export const dataElder = {
  sign: {
    device: {
      totalInstall: 256,
      rightRun: 245,
    },
    breathe: [
      { name: '今日呼吸异常人数', value: 5 },
      { name: '优质', value: 285 },
      { name: '一般', value: 686 },
      { name: '较差', value: 321 },
      { name: '很差', value: 868 },
    ],
    sleepQuality: [
      { name: '正常', value: 458, itemStyle: { color: '#8EDCF7' } },
      { name: '一般', value: 325, itemStyle: { color: '#BDB6EE' } },
      { name: '较差', value: 139, itemStyle: { color: '#FAE386' } },
    ],
    sleepHours: [
      { name: '1小时', value: 32 },
      { name: '2小时', value: 30 },
      { name: '3小时', value: 28 },
      { name: '4小时', value: 26 },
      { name: '5小时', value: 24 },
      { name: '6小时', value: 22 },
      { name: '7小时', value: 20 },
      { name: '8小时', value: 18 },
      { name: '9小时', value: 15 },
      { name: '10小时', value: 12 },
    ],
  },
  action: {
    device: {
      portablePager: 325,
      waveFallRadar: 568,
      deviceAccuracy: '99.5%',
    },
    riskOfFall: {
      elderCount: 5,
      alarms: [
        {
          alarmTime: '12:22:25',
          elderName: '陈春霞',
          elderPhone: '18545859658',
        },
        {
          alarmTime: '12:22:25',
          elderName: '陈春霞',
          elderPhone: '18545859658',
        },
        {
          alarmTime: '12:22:25',
          elderName: '陈春霞',
          elderPhone: '18545859658',
        },
      ],
    },
    riskOfStay: {
      elderCount: 3,
      alarms: [
        {
          alarmTime: '11:15:56',
          elderName: '赵丽香',
          elderPhone: '15485965236',
        },
        {
          alarmTime: '11:15:56',
          elderName: '赵丽香',
          elderPhone: '15485965236',
        },
        {
          alarmTime: '11:15:56',
          elderName: '赵丽香',
          elderPhone: '15485965236',
        },
        {
          alarmTime: '11:15:56',
          elderName: '赵丽香',
          elderPhone: '15485965236',
        },
      ],
    },
    riskOfFlee: {
      elderCount: 6,
      alarms: [
        {
          alarmTime: '11:15:56',
          elderName: '赵丽香',
          elderPhone: '13585479658',
        },
        {
          alarmTime: '11:15:56',
          elderName: '赵丽香',
          elderPhone: '13585479658',
        },
        {
          alarmTime: '11:15:56',
          elderName: '赵丽香',
          elderPhone: '13585479658',
        },
        {
          alarmTime: '11:15:56',
          elderName: '赵丽香',
          elderPhone: '13585479658',
        },
      ],
    },
  },
  social: {
    callCount: '152',
    callTime: 1058,
    callTimeDistribution: [
      { name: '<10', value: 32 },
      { name: '10-20', value: 30 },
      { name: '20-30', value: 28 },
      { name: '30-40', value: 26 },
      { name: '40-50', value: 24 },
      { name: '50-60', value: 22 },
      { name: '>60', value: 12 },
    ],
    weekCommunication: {
      day03: [
        {
          elderName: '陈春霞',
          elderPhone: '18545859658',
          lastCallDatetime: '2025.6.23 12:22:25',
        },
        {
          elderName: '陈春霞',
          elderPhone: '18545859658',
          lastCallDatetime: '2025.6.23 12:22:25',
        },
        {
          elderName: '陈春霞',
          elderPhone: '18545859658',
          lastCallDatetime: '2025.6.23 12:22:25',
        },
        {
          elderName: '陈春霞',
          elderPhone: '18545859658',
          lastCallDatetime: '2025.6.23 12:22:25',
        },
        {
          elderName: '陈春霞',
          elderPhone: '18545859658',
          lastCallDatetime: '2025.6.23 12:22:25',
        },
        {
          elderName: '陈春霞',
          elderPhone: '18545859658',
          lastCallDatetime: '2025.6.23 12:22:25',
        },
      ],
      day07: [],
      day30: [],
    },
  },
};

export const dataDevice = {
  overview: {
    deviceInstalling: 1425,
    deviceOnline: 1245,
    deviceOnlineRate: '87.37%',
  },
  smartDevice: {
    type: [
      { name: 'SOS报警器', value: 235 },
      { name: '随身呼叫器', value: 356 },
      { name: '毫米波跌倒雷达', value: 421 },
      { name: '生命体征监测仪', value: 189 },
      { name: '双向通话摄像头', value: 251 },
      { name: '智能烟雾报警器', value: 485 },
    ],
    fault: {
      count: 5,
      rate: '0.10%',
      devices: [
        {
          name: 'SOS报警器',
          number: '78545896585',
          elder: '陈春霞',
          phone: '18545859658',
        },
        {
          name: '智能随时呼叫器',
          number: '45858965865',
          elder: '赵丽香',
          phone: '15485965236',
        },
        {
          name: 'SOS报警器',
          number: '7895623856',
          elder: '赵丽香',
          phone: '13585479658',
        },
      ],
    },
    sim: {
      count: 5,
      rate: '0.10%',
      devices: [
        {
          name: 'SOS报警器',
          number: '78545896585',
          elder: '陈春霞',
          phone: '18545859658',
        },
        {
          name: '智能随时呼叫器',
          number: '45858965865',
          elder: '赵丽香',
          phone: '15485965236',
        },
        {
          name: 'SOS报警器',
          number: '7895623856',
          elder: '赵丽香',
          phone: '13585479658',
        },
      ],
    },
  },
  deviceEvent: {
    alarmEventToday: {
      total: 5,
      untreated: 2,
    },
    alarmEventYesterday: {
      treated: 3,
      untreated: 3,
    },
    deviceAlarmRealTime: [
      {
        deviceName: 'SOS智能报警器',
        elderName: '陈春霞',
        alarmDatetime: '6.23 12:22:25',
      },
      {
        deviceName: '毫米波跌倒雷达',
        elderName: '赵丽香',
        alarmDatetime: '6.23 11:15:56',
      },
      {
        deviceName: 'SOS智能报警器',
        elderName: '陈春霞',
        alarmDatetime: '6.23 12:22:25',
      },
    ],
    alarmDevice: [
      { name: 'SOS智能报警器', value: 235 },
      { name: '毫米波跌倒雷达', value: 421 },
      { name: '智能语音对讲机', value: 251 },
      { name: '智能烟雾报警器', value: 485 },
    ],
    day30Alarm: [
      { date: '6/14', alarmCount: 32, responseRate: 22.05 },
      { date: '6/15', alarmCount: 45, responseRate: 30.25 },
      { date: '6/16', alarmCount: 38, responseRate: 28.15 },
      { date: '6/17', alarmCount: 50, responseRate: 32.0 },
      { date: '6/18', alarmCount: 42, responseRate: 26.75 },
      { date: '6/19', alarmCount: 48, responseRate: 29.1 },
      { date: '6/20', alarmCount: 55, responseRate: 31.8 },
      { date: '6/21', alarmCount: 60, responseRate: 33.5 },
      { date: '6/22', alarmCount: 58, responseRate: 30.95 },
      { date: '6/23', alarmCount: 65, responseRate: 34.2 },
    ],
  },
};

export const dataHomecare = {
  overview: {
    totalServiceElder: 5890,
    staffCount: 1568,
    totalService: 669,
    totalServiceItem: 1005,
  },
  sumStat: {
    staff: [
      { name: '全部人员', value: 125 },
      { name: '护理师', value: 104 },
      { name: '康复师', value: 8 },
      { name: '护士', value: 13 },
    ],
    staffLevel: [
      {
        staff: '护理师',
        levels: [
          { name: '合计', value: 104 },
          { name: '初级', value: 44 },
          { name: '中级', value: 60 },
          { name: '高级', value: 0 },
        ],
      },
      {
        staff: '康复师',
        levels: [
          { name: '合计', value: 8 },
          { name: '初级', value: 5 },
          { name: '中级', value: 3 },
          { name: '高级', value: 0 },
        ],
      },
      {
        staff: '护士',
        levels: [
          { name: '合计', value: 13 },
          { name: '初级', value: 4 },
          { name: '中级', value: 9 },
          { name: '高级', value: 0 },
        ],
      },
    ],
    serviceElder: {
      inServiceElder: 1025,
      totalService: 5890,
    },
    serviceElderDisability: [
      { name: '能力完好', male: 100, female: 256, total: 356 },
      { name: '轻度失能', male: 100, female: 186, total: 286 },
      { name: '中度失能', male: 200, female: 296, total: 496 },
      { name: '重度失能', male: 100, female: 135, total: 235 },
      { name: '完全失能', male: 200, female: 245, total: 445 },
    ],
  },
  inService: {
    serviceInfo: {
      elderName: '赵孝之',
      elderGender: '男',
      elderAge: 85,
      staffName: '王春花',
      staffPhone: '18545899658',
      serviceStartAt: '08:23',
      serviceTime: '1小时25分钟',
    },
    inServices: [
      {
        elderName: '陈春霞',
        staffName: '赵晓宇',
        serviceStartAt: '08:25',
        serviceTime: '1小时2分钟',
      },
      {
        elderName: '陈春霞',
        staffName: '赵晓宇',
        serviceStartAt: '08:25',
        serviceTime: '1小时2分钟',
      },
    ],
  },
  dataStat: {
    serviceRecord: {
      today: {
        totalServiceCount: 235,
        totalServiceItem: 1005,
        totalServiceTime: 421,
      },
      day07: {
        totalServiceCount: 335,
        totalServiceItem: 2005,
        totalServiceTime: 521,
      },
      day30: {
        totalServiceCount: 435,
        totalServiceItem: 3005,
        totalServiceTime: 621,
      },
    },
    serviceTime: [
      { name: '<1小时', value: 32 },
      { name: '1-2小时', value: 45 },
      { name: '2-3小时', value: 25 },
      { name: '3-4小时', value: 10 },
      { name: '4-5小时', value: 8 },
      { name: '5-6小时', value: 12 },
      { name: '6-7小时', value: 18 },
      { name: '7-8小时', value: 15 },
      { name: '>8小时', value: 10 },
    ],
    serviceSort: [
      { name: '日常照料', value: 32 },
      { name: '医疗服务', value: 45 },
      { name: '康复治疗', value: 25 },
      { name: '其他', value: 10 },
    ],
    serviceItem: [
      { name: '个人卫生', value: 32 },
      { name: '心电图', value: 30 },
      { name: '床上擦浴', value: 28 },
      { name: '压疮预防', value: 26 },
      { name: '室外活动', value: 24 },
      { name: '协助进食', value: 22 },
      { name: '推拿按摩', value: 20 },
      { name: '血糖监测', value: 18 },
      { name: '置尿管', value: 15 },
      { name: '针灸艾灸', value: 12 },
    ],
  },
};
